package com.qqtop10.manager.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.qqtop10.manager.dao.OssImgMapper;
import com.qqtop10.manager.model.OssImg;
import com.qqtop10.manager.service.OssImgService;
import com.qqtop10.manager.utils.RandomUtils;

@Service("ossImgService")
public class OssImgServiceImpl implements OssImgService {

	@Autowired
	private OssImgMapper ossImgMapper;

	@Override
	public void insertOssImg(OssImg ossImg) {
		ossImg.setUuid(RandomUtils.makeUUID());
		ossImgMapper.insertOssImg(ossImg);
	}

	@Override
	public List<OssImg> selectOssImgList(Map<String, String> where) {
		return null;
	}

	@Override
	public OssImg selectOssImgOne(String uuid) {
		return null;
	}

	@Override
	public int count(OssImg ossImg) {
		return 0;
	}

}
